<template>
  <div slot="footer" class="dialog-footer">
    <el-button link @click="emit('cancel')">取消</el-button>
    <el-button :loading="sureLoading" type="primary" @click="emit('confirm')">确认</el-button>
  </div>
</template>
<script setup>
const props=defineProps({
  sureLoading: false
})

const emit = defineEmits();
</script>